return function(...)
    local sum = 0
    local cnt = select("#", ...)
    for i = 1, cnt do
        sum = sum + select(i, ...)
    end
    return sum / cnt
end